Add advertised calling convention for redirect-frame-focus (Bug#12030).
authormartin rudalics <rudalics@gmx.at>
Wed, 25 Jul 2012 09:34:48 +0000 (11:34 +0200)
committermartin rudalics <rudalics@gmx.at>
Wed, 25 Jul 2012 09:34:48 +0000 (11:34 +0200)
* frame.c (Fredirect_frame_focus): In doc-string don't mention
that FOCUS-FRAME can be omitted.

* subr.el (redirect-frame-focus): Add advertised calling
convention (Bug#12030).

lisp/ChangeLog
lisp/subr.el
src/ChangeLog
src/frame.c

index dbd3d9591089e94744b001fafa19f8bf606149af..daa8d7374fbc61209657372d7c7641ea9ce28bba 100644 (file)
@@ -1,3 +1,8 @@
+2012-07-25  Martin Rudalics  <rudalics@gmx.at>
+
+       * subr.el (redirect-frame-focus): Add advertised calling
+       convention (Bug#12030).
+
 2012-07-25  Paul Eggert  <eggert@cs.ucla.edu>
 
        Prefer typical American spelling for "acknowledgment".
 2012-07-06  Dmitry Gutov  <dgutov@yandex.ru>
 
        * window.el (quit-window): Always restore window height when
-       it's saved in quit-restore parameter.
+       it's saved in quit-restore parameter (Bug#11810).
 
 2012-07-06  Glenn Morris  <rgm@gnu.org>
 
index 0afe33c6a4cba5e34ef80f72d76136b88dc70bcb..882ad3cd23d3d4edc0e93ef634cd5c43e9680717 100644 (file)
@@ -1184,6 +1184,7 @@ is converted into a string by expressing it in decimal."
 (set-advertised-calling-convention
  'all-completions '(string collection &optional predicate) "23.1")
 (set-advertised-calling-convention 'unintern '(name obarray) "23.3")
+(set-advertised-calling-convention 'redirect-frame-focus '(frame focus-frame) "24.2")
 \f
 ;;;; Obsolescence declarations for variables, and aliases.
 
index 4d53801d3de908ecb55d404b3d3ef8b2d5536fe8..0d74b883428ca7b1fd9a1a1839959eeaff1e8d13 100644 (file)
@@ -1,3 +1,8 @@
+2012-07-25  Martin Rudalics  <rudalics@gmx.at>
+
+       * frame.c (Fredirect_frame_focus): In doc-string don't mention
+       that FOCUS-FRAME can be omitted.
+
 2012-07-25  Dmitry Antipov  <dmantipov@yandex.ru>
 
        Adjust buffer text indirection counters at the end of Fkill_buffer.
index bf2b180f2d39d6fe63f0971c30bbd2678ebd491b..07783bd8c07e3c8eb40c12eb47ac8af8bfabf862 100644 (file)
@@ -1874,8 +1874,8 @@ In other words, switch-frame events caused by events in FRAME will
 request a switch to FOCUS-FRAME, and `last-event-frame' will be
 FOCUS-FRAME after reading an event typed at FRAME.
 
-If FOCUS-FRAME is omitted or nil, any existing redirection is
-canceled, and the frame again receives its own keystrokes.
+If FOCUS-FRAME is nil, any existing redirection is canceled, and the
+frame again receives its own keystrokes.
 
 Focus redirection is useful for temporarily redirecting keystrokes to
 a surrogate minibuffer frame when a frame doesn't have its own